try {
    Type.registerNamespace('TransInVO');
    
    //调拨出库单VO
    TransInVO = function () {};
    TransInVO.prototype = new NCMMPubUtil.SuperVO();
    //表头单据日期
    TransInVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
    //表头ts
    TransInVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头dr
    TransInVO.HDR = {
		name: "hdr",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头集团编码
    TransInVO.PK_GROUP_CODE = {
		name: "pk_group_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头库存组织
    TransInVO.PK_ORG = {
		name: "pk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头仓库
    TransInVO.CWAREHOUSEID = {
		name: "cwarehouseid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//调入仓库
	TransInVO.COTHERWHID={
	   name:"cotherwhid",
	   type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//表头单据号
    TransInVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头单据状态
    TransInVO.FBILLFLAG = {
		name: "fbillflag",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头主键
    TransInVO.CGENERALHID = {
		name: "cgeneralhid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体行号
	TransInVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体计量单位名称
    TransInVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体计量单位编码
    TransInVO.CUNITID_CODE = {
		name: "cunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体计量单位主键
    TransInVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体辅单位名称
    TransInVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体辅单位编码
    TransInVO.CASTUNITID_CODE = {
		name: "castunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体辅单位主键
    TransInVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体应发主数量
    TransInVO.NSHOULDINNUM = {
		name: "nshouldinnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体应发数量
    TransInVO.NSHOULDASSISTNUM = {
		name: "nshouldassistnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体型号
    TransInVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体规格
	TransInVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体物料名称
    TransInVO.CMATERIALVID_NAME = {
		name: "cmaterialvid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体物料简称
	TransInVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体物料编码
	TransInVO.CMATERIALVID_CODE = {
		name: "cmaterialvid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体物料主键
	TransInVO.CMATERIALVID = {
		name: "cmaterialvid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体批次主键
	TransInVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体批次号
	TransInVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体换算率
	TransInVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体主键
	TransInVO.CGENERALBID = {
		name: "cgeneralbid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//货位孙表主键
	TransInVO.CLOCATIONID = {
		name: "clocationid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位孙表编码
	TransInVO.CLOCATIONID_CODE = {
		name: "clocationid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位孙表名称
	TransInVO.CLOCATIONID_NAME = {
		name: "clocationid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//扫描主数量
	TransInVO.NSCANEDNUM = {
		name: "nscanednum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	TransInVO.NSCANEDASTNUM = {
		name: "nscanedastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	TransInVO.prototype.getAllAttrs = function() {
		return [TransInVO.DBILLDATE,
		    TransInVO.HTS,
		    TransInVO.HDR,
		    TransInVO.PK_GROUP_CODE,
		    TransInVO.PK_ORG,
		    TransInVO.CWAREHOUSEID,
		    TransInVO.COTHERWHID,
		    TransInVO.VBILLCODE,
		    TransInVO.FBILLFLAG,
		    TransInVO.CGENERALHID,
		    TransInVO.CROWNO,
		    TransInVO.CUNITID_NAME,
		    TransInVO.CUNITID_CODE,
		    TransInVO.CUNITID,
		    TransInVO.CASTUNITID_NAME,
		    TransInVO.CASTUNITID_CODE,
		    TransInVO.CASTUNITID,
		    TransInVO.NSHOULDINNUM,
		    TransInVO.NSHOULDASSISTNUM,
		    TransInVO.MATERIALTYPE,
		    TransInVO.MATERIALSPEC,
		    TransInVO.CMATERIALVID_NAME,
		    TransInVO.MATERIALSHORTNAME,
		    TransInVO.CMATERIALVID_CODE,
		    TransInVO.CMATERIALVID,
		    TransInVO.PK_BATCHCODE,
		    TransInVO.VBATCHCODE,
		    TransInVO.VCHANGERATE,
		    TransInVO.CGENERALBID,
		    TransInVO.CLOCATIONID,
		    TransInVO.CLOCATIONID_CODE,
		    TransInVO.CLOCATIONID_NAME,
		    TransInVO.NSCANEDNUM,
		    TransInVO.NSCANEDASTNUM];
	};
	TransInVO.prototype.getTableName = function() {
		return "to_transins";
	};
	TransInVO.prototype.getPrimaryAttr = function() {
		return TransInVO.CGENERALBID;
	};
} catch(e) {
	$e(e);
}